package com.etc.dao;

import java.util.List;

import com.etc.entity.Announcement;

public interface AnnouncementDao {
/**
 * 查询所有公告
 */
	public abstract List<Announcement> queryAllAnnouncement();
/**
 * 	增加公告
 */
	public abstract boolean addAnnouncement(Announcement announcement);
/**
 * 删除公告	
 */ 
	public abstract boolean rmvAnnouncement(int id);
/**
 * 按照内容查询公告	
 */
	public abstract Announcement queryAnnouncement(String name);
}
